/**
 * 
 */
package com.nars.date;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;

/**
 * @author Student
 * 
 */
public class SystemDateParameters {

	/**
	 * @param args
	 * @throws ParseException
	 */
	public static void main(String[] args) throws ParseException {

		System.setProperty("user.country", "us");
		System.setProperty("user.language", "us");
		Locale locale = Locale.getDefault();

		System.out.println(System.currentTimeMillis());
		String parseString = "03/03/2010";
		SimpleDateFormat format = new SimpleDateFormat("MM/dd/yy", locale);

		Date date = format.parse(parseString);
		System.out.println(date);
		System.out.println(System.getProperty("user.country"));
	}

}
